package com.weds.frame.auth.mapper;

import com.weds.frame.auth.entity.ScOptLog;
import com.weds.frame.auth.entity.ScOptLogReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScOptLogAuthMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ScOptLog record);

    int insertSelective(ScOptLog record);

    List<ScOptLog> selectList(@Param("req") ScOptLogReq record, @Param("rm") String rm, @Param("cal") String cal, @Param("loginUserId") Integer loginUserId, @Param("client") String client);

    int updateByPrimaryKeySelective(ScOptLog record);

    int updateByPrimaryKey(ScOptLog record);

}